package se.gala.core.abstracts;

import se.gala.utils.Coordinate2D;
import se.gala.utils.GGObject;

public abstract class AbstractDrawSymbol extends GGObject {
	
	private String id;
	private Object value;
	
	protected AbstractDrawSymbol(String id, Object value) {
		this.id = id;
		this.value = value;
	}
	
	public final String getId() {
		return id;
	}
	
	public final Object getValue() {
		return value;
	}
	
	public final boolean equalTo(AbstractDrawSymbol symbol) {
		return this.id == symbol.id;
	}
	
	abstract public AbstractDrawSymbol getCopy();
	abstract public void setCoordinate(Coordinate2D coordinate);
	
	@Override
	public String toString() {
		return id;
	}

}
